package com.szly.phm.common.entity.dto.ensure;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * phm
 *
 * @author: git.jas0nch
 * date: 2021-10-22
 */

@Data
public class CreateEnsurePlanDTO {

    @ApiModelProperty(value = "保障计划id")
    private String id;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

//    /**
//     * 内容
//     */
//    @ApiModelProperty(value = "内容")
//    private String content;
//
//    /**
//     * 周期
//     */
//    @ApiModelProperty(value = "周期")
//    private String cycle;

    /**
     * 结构件id
     */
    @ApiModelProperty(value = "key parts id")
    private String keyPartsId;

//    /**
//     * 是否有效
//     */
//    @ApiModelProperty(value = "是否有效")
//    private Integer status;

    /**
     * 任务级别
     */
    @ApiModelProperty(value = "ensure id")
    private String ensureId;

    /**
     * 最新保障记录时间
     */
    @ApiModelProperty(value = "保障时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date ensureDate;

    @ApiModelProperty(value = "ensure way id")
    private String wayId;

    @ApiModelProperty(value = "Document id")
    private String documentationId;

    /**
     * 是否有效
     */
    @ApiModelProperty(value = "状态有效否 status")
    private Integer status;

    @ApiModelProperty(value = "structure id")
    private String structureId;

    @ApiModelProperty(value = "ensure id")
    private String ensureTypeId;
}
